﻿@model CMP.ERP.Model.Commodity
@{
    Layout = null;
}
@Html.Action("Account_Show", "Account");
    <div class="content">
        <body>
            <!-- 顶部 -->
            <div id="middle">
                <div class="Switch"></div>
                <script type="text/javascript">
                    $(document).ready(function (e) {
                        $(".Switch").click(function () {
                            $(".left").toggle();

                        });
                    });
                </script>
                <div class="right" id="mainFrame">
                    <div class="right_cont">
                        <ul class="breadcrumb">
                            当前位置：
                            <a href="/Home/Index">首页</a>
                            <span class="divider">/</span>
                            <a href="/Blurb/Blurb_Show">商品信息</a>
                            <span class="divider">/</span>
                            更新商品
                        </ul>
                        <div class="title_right"><strong>更新商品信息</strong></div>
                        <div style="width:100%; margin:auto">
                            <form method="post" action="/Blurb/EditDo">
                                <div style="width:400px;height:500px; margin-left:25%; top:3%;border:1px solid #e2e2e5;box-shadow:1px 2px;">
                                    <table class="table table-hover table-bordered " style="width:400px;text-align:center;margin:0 auto;height:500px;">
                                        <tbody>
                                            <tr>
                                                <td>商品名称</td>
                                                <td>@Html.TextBox("Commodity_Name") @Html.Hidden("Commodity_Id")</td>
                                            </tr>
                                            <tr>
                                                <td>条形码</td>
                                                <td>@Html.TextBox("Commodity_number")</td>
                                            </tr>
                                            <tr>
                                                <td>重量</td>
                                                <td>
                                                    @Html.TextBox("Commodity_Weight")
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>备注</td>
                                                <td>@Html.TextBox("Commodity_Remark")</td>
                                            </tr>
                                            <tr>
                                                <td>价格</td>
                                                <td>@Html.TextBox("Commodity_Price")</td>
                                            </tr>

                                            <tr>
                                                <td>商品类型</td>
                                                <td>@Html.DropDownList("CommodityType_Id")</td>
                                            </tr>
                                            <tr>
                                                <td></td>m 
                                                <td><button type="submit" class="btn btn-default"><span class="icon-inbox"></span>保存</button></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                </div>
            </div>
            <!-- 底部 -->
            <div id="footer">版权所有：知行ERP</div>
            <script>
                !function () {
                    laydate.skin('molv');
                    laydate({ elem: '#Calendar' });
                }();33

                function fun() {
                    location.href = '/Home/Index';
                }
            </script>


<script src="~/Scripts/lib/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function () {
        $('.demo-cancel-click').click(function () { return false; });
    });
    function fun() {
        location.href = '/Home/Index';
    }









